<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/6/14
 * Time: 13:50
 */


namespace WeiChat\api;


class QrCode {
    public function __construct()
    {
        error_reporting(E_ERROR);
        require_once './WeiChat/phpqrcode/phpqrcode.php';

    }
    public function show($url){
        $url = urldecode($url);
        \QRcode::png($url);
    }
}